package com.jz.netthings.application.providerCollection.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 采浆记录-卸载耗材

 * </p>
 *
 * @author zyl
 * @since 2019-03-25
 */
public class UninstallConsumable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("mlogId")
    private String mlogId;
    /**
     * 卸载耗材开始时间
     */
    private Date uninstallStart;
    /**
     * 卸载血浆袋时间
     */
    private Date uninstallPlasmaBag;
    /**
     * 离心机盖开关时间
     */
    private Date openLxjSwitch;
    /**
     * 卸载DPM时间
     */
    @TableField("uninstall_DPM")
    private Date uninstallDpm;
    /**
     * 卸载耗材结束时间
     */
    private Date uninstallEnd;


    public String getMlogId() {
        return mlogId;
    }

    public void setMlogId(String mlogId) {
        this.mlogId = mlogId;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallStart() {
        return uninstallStart;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallStart(Date uninstallStart) {
        this.uninstallStart = uninstallStart;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallPlasmaBag() {
        return uninstallPlasmaBag;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallPlasmaBag(Date uninstallPlasmaBag) {
        this.uninstallPlasmaBag = uninstallPlasmaBag;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getOpenLxjSwitch() {
        return openLxjSwitch;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setOpenLxjSwitch(Date openLxjSwitch) {
        this.openLxjSwitch = openLxjSwitch;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallDpm() {
        return uninstallDpm;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallDpm(Date uninstallDpm) {
        this.uninstallDpm = uninstallDpm;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUninstallEnd() {
        return uninstallEnd;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUninstallEnd(Date uninstallEnd) {
        this.uninstallEnd = uninstallEnd;
    }

    @Override
    public String toString() {
        return "UninstallConsumable{" +
        "mlogId=" + mlogId +
        ", uninstallStart=" + uninstallStart +
        ", uninstallPlasmaBag=" + uninstallPlasmaBag +
        ", openLxjSwitch=" + openLxjSwitch +
        ", uninstallDpm=" + uninstallDpm +
        ", uninstallEnd=" + uninstallEnd +
        "}";
    }
}
